<?php
class DBConfigNew {

private $conn = null;
	
		

    /**
	* Returns the connection object 
	*
	*/
	public function getConnection(){
		$host="localhost"; // Host name 
		$username="hambaaco_app"; // Mysql username  
		$password="sdfsiJdsf435jf"; // Mysql password 
		//$db_name="hambaa_tshirts"; // Database name
		//return $this->conn = new mysqli($host, $username, $password, $db_name);	
		
		//$username="sdfsiJdsf435jf"; // Mysql username  
		//$password=""; // Mysql password 
		$db_name="hambaaco_merchandize"; // Database name
		return $this->conn = new mysqli($host, $username, $password, $db_name);	
	}
		public function closeConnection(){
		mysqli_close($this->conn);
	}
}


?>